import React, { Component } from 'react';
import { useParams, useSearchParams } from 'react-router-dom';

const Content = () => {
    const [searchParams, setSearchParams] = useSearchParams();
    return ( <React.Fragment>
        <h1>{searchParams.get("id")}. {searchParams.get("in")}</h1>
    </React.Fragment> );
}
 
export default Content;